package com.duqc.web.service.impl;

import com.duqc.web.dao.DorisQueryMapper;
import com.duqc.web.entity.DorisQuery;
import com.duqc.web.service.DorisQueryService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName DorisQueryServiceImpl
 * @Description DorisQueryServiceImpl
 * @Author duqc
 * @Date 2023/2/1
 **/
@Slf4j
@Service
@RequiredArgsConstructor
public class DorisQueryServiceImpl implements DorisQueryService {

    private final DorisQueryMapper dorisQueryMapper;

    @Override
    public List<DorisQuery> list() {
        return this.dorisQueryMapper.list();
    }
}
